#////////////////////////////////////////////////////////////////////////////
#//
#// Author      : Luis M. de la Cruz Salas
#// Date        : Mon Jan 31 18:04:40 CST 2005
#// Version     : 1.0
#// Last Rev.   : Mon Jun  4 13:39:54 CDT 2007
#//
#////////////////////////////////////////////////////////////////////////////

include	../tuna-cfd-rules.in

all :	confort confort2D confort2DStat profile

confort2DStat: confort2DStat.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

confort2DStat.o: confort2DStat.cpp
	$(CXX) $(CXXFLAGS) -DWITH_GNUPLOT -DWITH_GenMat $(INCLUDES) -c $<

confort2D: confort2D.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

confort2D.o: confort2D.cpp
	$(CXX) $(CXXFLAGS) -DWITH_GNUPLOT -DWITH_GenMat $(INCLUDES) -c $<

confort: confort.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

confort.o: confort.cpp
	$(CXX) $(CXXFLAGS) -DWITH_GNUPLOT -DWITH_GenMat $(INCLUDES) -c $<

profiles: profiles.o 
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -o $@ $(LIBS)

profiles.o: profiles.cpp
	$(CXX) $(CXXFLAGS) -DWITH_GNUPLOT -DWITH_GenMat $(INCLUDES) -c $<

clean:
	/bin/rm -f *.o *.ii confort confort2D confort2DStat profiles
